package com.wanxi.work;

public class Manager extends Worker{
    private String bonus;

    public Manager() {
        super();
    }

    public Manager(String bonus) {

        this.bonus = bonus;
    }

    public Manager(String workNum, String name, String salary, String bonus) {
        super(workNum, name, salary);
        this.bonus = bonus;
    }

    public String getBonus() {
        return bonus;
    }

    public void setBonus(String bonus) {
        this.bonus = bonus;
    }
}
